using System;
using System.Runtime.Serialization;

namespace Commons.Utils.Extractors
{
	[Serializable]
	public class InvalidPathException : Exception
	{
		public InvalidPathException() : base()
		{
			
		}
			
		public InvalidPathException (string path)
			: base("Path: " + path + " is not in the correct form {attribute}(capability.attribute)|{attribute}|(capability.attribute)")
		{

		}
		
		public InvalidPathException(string message, Exception innerException) : base(message, innerException)
		{
			
		}

		protected InvalidPathException(SerializationInfo info, StreamingContext context) : base(info, context)
		{

		}
	}
}

